#!/bin/sh

# build libcutils first
cur_dir=`pwd`
if [ ! -d cutils ]; then
	git clone https://git.oschina.net/yewenhao/cutils.git cutils
	cd cutils && ./configure && make && sudo make install
fi

echo "build cutils lua module"
echo $cur_dir
cd $cur_dir && make

echo "build done"
